#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
int x = 0;
int y = 0;
scanf("%d", &x);
if (x > 0)
    y = 1;
else if (x < 0)
    y = -1;
else
    y = 0;
printf("%d\n", y);
return 0;
}